<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta name="Content-Type" content="text/html; charset=UTF-8" />
<title>Class: Sass::Selector::Simple</title>
<link rel="stylesheet" href="style.css" tppabs="http://sass-lang.com/docs/yardoc/css/style.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="common.css" tppabs="http://sass-lang.com/docs/yardoc/css/common.css" type="text/css" media="screen" charset="utf-8" />

<script type="text/javascript" charset="utf-8">
  relpath = '../..';
  if (relpath != '') relpath += '/';
</script>
<script type="text/javascript" charset="utf-8" src="jquery.js" tppabs="http://sass-lang.com/docs/yardoc/js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="app.js" tppabs="http://sass-lang.com/docs/yardoc/js/app.js"></script>

  </head>
  <body>
    <script type="text/javascript" charset="utf-8">
      if (window.top.frames.main) document.body.className = 'frames';
    </script>
    
    <div id="header">
      <div id="menu">
  
    <a href="_index.html" tppabs="http://sass-lang.com/docs/yardoc/_index.html">Index (S)</a> &raquo; 
    <span class='title'><a href="Sass-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass.html" title="Sass (module)">Sass</a></span> &raquo; <span class='title'><a href="Selector.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector.html" title="Sass::Selector (module)">Selector</a></span>
     &raquo; 
    <span class="title">Simple</span>
  
  
  <div class="noframes"><span class="title">(</span><a href="javascript:if(confirm(%27http://sass-lang.com/docs/yardoc/Sass/Selector/.  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?%27))window.location=%27http://sass-lang.com/docs/yardoc/Sass/Selector/.%27" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/." target="_top">no frames</a><span class="title">)</span></div>
</div>

      <div id="search">
  <a id="class_list_link" href="#">Class List</a>
  <a id="method_list_link" href="#">Method List</a>
  <a id ="file_list_link" href="#">File List</a>
</div>

      <div class="clear"></div>
    </div>
    
    <iframe id="search_frame"></iframe>
    
    <div id="content"><h1>Class: Sass::Selector::Simple 
  
  
</h1>

<dl class="box">
  
    <dt class="r1">Inherits:</dt>
    <dd class="r1">
      <span class="inheritName">Object</span>
      
        <ul class="fullTree">
          <li>Object</li>
          
            <li class="next">Sass::Selector::Simple</li>
          
        </ul>
        <a href="#" class="inheritanceTree">show all</a>
      
      </dd>
    
  
  
    
  
    
  
  
    <dt class="r2 last">Defined in:</dt>
    <dd class="r2 last">/var/www/sass-pages/.sass/lib/sass/selector/simple.rb</dd>
  
</dl>
<div class="clear"></div>

<h2>Overview</h2><div class="docstring">
  <div class="discussion">
    <p>The abstract superclass for simple selectors (that is, those that don&#8217;t compose multiple selectors).</p>

  </div>
</div>
<div class="tags">
  
</div><div id="subclasses">
  <h2>Direct Known Subclasses</h2>
  <p class="children"><a href="Attribute.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/Attribute.html" title="Sass::Selector::Attribute (class)">Attribute</a>, <a href="Class.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/Class.html" title="Sass::Selector::Class (class)">Class</a>, <a href="Element.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/Element.html" title="Sass::Selector::Element (class)">Element</a>, <a href="Id.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/Id.html" title="Sass::Selector::Id (class)">Id</a>, <a href="Interpolation-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/Interpolation.html" title="Sass::Selector::Interpolation (class)">Interpolation</a>, <a href="Parent.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/Parent.html" title="Sass::Selector::Parent (class)">Parent</a>, <a href="Placeholder.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/Placeholder.html" title="Sass::Selector::Placeholder (class)">Placeholder</a>, <a href="Pseudo.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/Pseudo.html" title="Sass::Selector::Pseudo (class)">Pseudo</a>, <a href="SelectorPseudoClass.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/SelectorPseudoClass.html" title="Sass::Selector::SelectorPseudoClass (class)">SelectorPseudoClass</a>, <a href="Universal.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/Universal.html" title="Sass::Selector::Universal (class)">Universal</a></p>
</div>


  <h2>Instance Attribute Summary</h2>
  <ul class="summary">
    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#filename-instance_method" title="#filename (instance method)">- (String<sup>?</sup>) <strong>filename</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc">The name of the file in which this selector was declared, or <code>nil</code> if it was not declared in a file (e.g. on stdin).</span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#line-instance_method" title="#line (instance method)">- (Fixnum) <strong>line</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  

  
    <span class="summary_desc">The line of the Sass template on which this selector was declared.</span>
  
</li>

    
  </ul>


  <h2>Instance Method Summary</h2>

  <ul class="summary">
    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#eql%3F-instance_method" title="#eql? (instance method)">- (Boolean) <strong>eql?</strong>(other) </a>
    

    
      (also: #==)
    
  </span>
  
  
  
  
  

  
    <span class="summary_desc">Checks equality between this and another object.</span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#hash-instance_method" title="#hash (instance method)">- (Fixnum) <strong>hash</strong> </a>
    

    
  </span>
  
  
  
  
  

  
    <span class="summary_desc">Returns a hash code for this selector object.</span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#inspect-instance_method" title="#inspect (instance method)">- (String) <strong>inspect</strong> </a>
    

    
  </span>
  
  
  
  
  

  
    <span class="summary_desc">Returns a string representation of the node.</span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#to_a-instance_method" title="#to_a (instance method)">- (Array&lt;String, Sass::Script::Node&gt;) <strong>to_a</strong> </a>
    

    
  </span>
  
  
  
  
  

  
    <span class="summary_desc">Returns a representation of the node as an array of strings and potentially <tt><a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Sass::Script::Node</a></tt>s (if there&#8217;s interpolation in the selector).</span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#to_s-instance_method" title="#to_s (instance method)">- (String) <strong>to_s</strong> </a>
    

    
  </span>
  
  
  
  
  

  
    <span class="summary_desc"></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#unify-instance_method" title="#unify (instance method)">- (Array&lt;Simple&gt;<sup>?</sup>) <strong>unify</strong>(sels) </a>
    

    
  </span>
  
  
  
  
  

  
    <span class="summary_desc">Unifies this selector with a <tt><a href="SimpleSequence.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/SimpleSequence.html" title="Sass::Selector::SimpleSequence (class)">SimpleSequence</a></tt>&#8217;s <tt><a href="SimpleSequence.html#members-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/SimpleSequence.html#members-instance_method" title="Sass::Selector::SimpleSequence#members (method)">members array</a></tt>, returning another <code>SimpleSequence</code> members array that matches both this selector and the input selector.</span>
  
</li>

    
      <li class="protected ">
  <span class="summary_signature">
    
      <a href="#unify_namespaces-instance_method" title="#unify_namespaces (instance method)">- (Array(String or nil, Boolean)) <strong>unify_namespaces</strong>(ns1, ns2) </a>
    

    
  </span>
  
  
  <span class="note title protected">protected</span>
  
  

  
    <span class="summary_desc">Unifies two namespaces, returning a namespace that works for both of them if possible.</span>
  
</li>

    
  </ul>

  <div id="instance_attr_details" class="attr_details">
    <h2>Instance Attribute Details</h2>
    
      
      <span id="filename=-instance_method"></span>
      <span id="filename-instance_method"></span>
      <div class="method_details first">
  <p class="signature first" id="filename-instance_method">
  
    - (<tt>String</tt><sup>?</sup>) <strong>filename</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>The name of the file in which this selector was declared, or <code>nil</code> if it was not declared in a file (e.g. on stdin).</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>String</tt>, <tt>nil</tt>)</span>
      
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


15
16
17</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/selector/simple.rb', line 15</span>

def filename
  @filename
end</pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id="line=-instance_method"></span>
      <span id="line-instance_method"></span>
      <div class="method_details ">
  <p class="signature " id="line-instance_method">
  
    - (<tt>Fixnum</tt>) <strong>line</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>The line of the Sass template on which this selector was declared.</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>Fixnum</tt>)</span>
      
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


9
10
11</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/selector/simple.rb', line 9</span>

def line
  @line
end</pre>
    </td>
  </tr>
</table>
</div>
    
  </div>


  <div id="instance_method_details" class="method_details_list">
    <h2>Instance Method Details</h2>
    
    
      <div class="method_details first">
  <p class="signature first" id="eql?-instance_method">
  
    - (<tt>Boolean</tt>) <strong>eql?</strong>(other) 
  

  
    <span class="aliases">Also known as:
    <span class="names"><span id='==-instance_method'>==</span></span>
    </span>
  
</p><div class="docstring">
  <div class="discussion">
    <p>Checks equality between this and another object.</p>

<p>By default, this is based on the value of <tt><a href="#to_a-instance_method" title="Sass::Selector::Simple#to_a (method)">#to_a</a></tt>, so if that contains information irrelevant to the identity of the selector, this should be overridden.</p>

  </div>
</div>
<div class="tags">
  <h3>Parameters:</h3>
<ul class="param">
  
    <li>
      
        <span class='type'>(<tt>Object</tt>)</span>
      
      
        <span class='name'>other</span>
      
      
      
        &mdash;
        The object to test equality against
      
    </li>
  
</ul>
<h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>Boolean</tt>)</span>
      
      
      
      
        &mdash;
        Whether or not this is equal to <code>other</code>
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


61
62
63</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/selector/simple.rb', line 61</span>

def eql?(other)
  other.class == self.class && other.hash == self.hash && other.to_a.eql?(to_a)
end</pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <p class="signature " id="hash-instance_method">
  
    - (<tt>Fixnum</tt>) <strong>hash</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>Returns a hash code for this selector object.</p>

<p>By default, this is based on the value of <tt><a href="#to_a-instance_method" title="Sass::Selector::Simple#to_a (method)">#to_a</a></tt>, so if that contains information irrelevant to the identity of the selector, this should be overridden.</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>Fixnum</tt>)</span>
      
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


49
50
51</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/selector/simple.rb', line 49</span>

def hash
  @_hash ||= to_a.hash
end</pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <p class="signature " id="inspect-instance_method">
  
    - (<tt>String</tt>) <strong>inspect</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>Returns a string representation of the node. This is basically the selector string.</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>String</tt>)</span>
      
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


32
33
34</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/selector/simple.rb', line 32</span>

def inspect
  to_a.map {|e| e.is_a?(Sass::Script::Node) ? "\#{#{e.to_sass}}" : e}.join
end</pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <p class="signature " id="to_a-instance_method">
  
    - (<tt>Array&lt;String, <a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Sass::Script::Node</a>&gt;</tt>) <strong>to_a</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>Returns a representation of the node as an array of strings and potentially <tt><a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Sass::Script::Node</a></tt>s (if there&#8217;s interpolation in the selector). When the interpolation is resolved and the strings are joined together, this will be the string representation of this node.</p>

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>Array&lt;String, <a href="Node-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Script/Node.html" title="Sass::Script::Node (class)">Sass::Script::Node</a>&gt;</tt>)</span>
      
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


24
25
26</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/selector/simple.rb', line 24</span>

def to_a
  Sass::Util.abstract(self)
end</pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <p class="signature " id="to_s-instance_method">
  
    - (<tt>String</tt>) <strong>to_s</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  <h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>String</tt>)</span>
      
      
      
      
    </li>
  
</ul>

  <h3>See Also:</h3>
  <ul class="see">
    
      <li>\{#inspect}</li>
    
  </ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


38
39
40</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/selector/simple.rb', line 38</span>

def to_s
  inspect
end</pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <p class="signature " id="unify-instance_method">
  
    - (<tt>Array&lt;<a href="" title="Sass::Selector::Simple (class)">Simple</a>&gt;</tt><sup>?</sup>) <strong>unify</strong>(sels) 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>Unifies this selector with a <tt><a href="SimpleSequence.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/SimpleSequence.html" title="Sass::Selector::SimpleSequence (class)">SimpleSequence</a></tt>&#8217;s <tt><a href="SimpleSequence.html#members-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/SimpleSequence.html#members-instance_method" title="Sass::Selector::SimpleSequence#members (method)">members array</a></tt>, returning another <code>SimpleSequence</code> members array that matches both this selector and the input selector.</p>

<p>By default, this just appends this selector to the end of the array (or returns the original array if this selector already exists in it).</p>

  </div>
</div>
<div class="tags">
  <h3>Parameters:</h3>
<ul class="param">
  
    <li>
      
        <span class='type'>(<tt>Array&lt;<a href="" title="Sass::Selector::Simple (class)">Simple</a>&gt;</tt>)</span>
      
      
        <span class='name'>sels</span>
      
      
      
        &mdash;
        A <tt><a href="SimpleSequence.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/SimpleSequence.html" title="Sass::Selector::SimpleSequence (class)">SimpleSequence</a></tt>&#8217;s <tt><a href="SimpleSequence.html#members-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/SimpleSequence.html#members-instance_method" title="Sass::Selector::SimpleSequence#members (method)">members array</a></tt>
      
    </li>
  
</ul>
<h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>Array&lt;<a href="" title="Sass::Selector::Simple (class)">Simple</a>&gt;</tt>, <tt>nil</tt>)</span>
      
      
      
      
        &mdash;
        A <tt><a href="SimpleSequence.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/SimpleSequence.html" title="Sass::Selector::SimpleSequence (class)">SimpleSequence</a></tt> <tt><a href="SimpleSequence.html#members-instance_method" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/SimpleSequence.html#members-instance_method" title="Sass::Selector::SimpleSequence#members (method)">members array</a></tt> matching both <code>sels</code> and this selector, or <code>nil</code> if this is impossible (e.g. unifying <code>#foo</code> and <code>#bar</code>)
      
    </li>
  
</ul>
<h3>Raises:</h3>
<ul class="raise">
  
    <li>
      
        <span class='type'>(<tt><a href="SyntaxError.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/SyntaxError.html" title="Sass::SyntaxError (class)">Sass::SyntaxError</a></tt>)</span>
      
      
      
      
        &mdash;
        If this selector cannot be unified. This will only ever occur when a dynamic selector, such as <tt><a href="Parent.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/Parent.html" title="Sass::Selector::Parent (class)">Parent</a></tt> or <tt><a href="Interpolation-1.html" tppabs="http://sass-lang.com/docs/yardoc/Sass/Selector/Interpolation.html" title="Sass::Selector::Interpolation (class)">Interpolation</a></tt>, is used in unification. Since these selectors should be resolved by the time extension and unification happen, this exception will only ever be raised as a result of programmer error
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


83
84
85
86
87
88
89
90
91
92
93
94</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/selector/simple.rb', line 83</span>

def unify(sels)
  return sels if sels.any? {|sel2| eql?(sel2)}
  sels_with_ix = Sass::Util.enum_with_index(sels)
  _, i =
    if self.is_a?(Pseudo) || self.is_a?(SelectorPseudoClass)
      sels_with_ix.find {|sel, _| sel.is_a?(Pseudo) && (sels.last.final? || sels.last.type == :element)}
    else
      sels_with_ix.find {|sel, _| sel.is_a?(Pseudo) || sel.is_a?(SelectorPseudoClass)}
    end
  return sels + [self] unless i
  return sels[0...i] + [self] + sels[i..-1]
end</pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <p class="signature " id="unify_namespaces-instance_method">
  
    - (<tt>Array(String or nil, Boolean)</tt>) <strong>unify_namespaces</strong>(ns1, ns2)  <span class="extras">(protected)</span>
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>Unifies two namespaces, returning a namespace that works for both of them if possible.</p>

  </div>
</div>
<div class="tags">
  <h3>Parameters:</h3>
<ul class="param">
  
    <li>
      
        <span class='type'>(<tt>String</tt>, <tt>nil</tt>)</span>
      
      
        <span class='name'>ns1</span>
      
      
      
        &mdash;
        The first namespace. <code>nil</code> means none specified, e.g. <code>foo</code>. The empty string means no namespace specified, e.g. <code>|foo</code>. <code>&quot;*&quot;</code> means any namespace is allowed, e.g. <code>*|foo</code>.
      
    </li>
  
    <li>
      
        <span class='type'>(<tt>String</tt>, <tt>nil</tt>)</span>
      
      
        <span class='name'>ns2</span>
      
      
      
        &mdash;
        The second namespace. See <code>ns1</code>.
      
    </li>
  
</ul>
<h3>Returns:</h3>
<ul class="return">
  
    <li>
      
        <span class='type'>(<tt>Array(String or nil, Boolean)</tt>)</span>
      
      
      
      
        &mdash;
        The first value is the unified namespace, or <code>nil</code> for no namespace. The second value is whether or not a namespace that works for both inputs could be found at all. If the second value is <code>false</code>, the first should be ignored.
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


111
112
113
114
115
116</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File '/var/www/sass-pages/.sass/lib/sass/selector/simple.rb', line 111</span>

def unify_namespaces(ns1, ns2)
  return nil, false unless ns1 == ns2 || ns1.nil? || ns1 == ['*'] || ns2.nil? || ns2 == ['*']
  return ns2, true if ns1 == ['*']
  return ns1, true if ns2 == ['*']
  return ns1 || ns2, true
end</pre>
    </td>
  </tr>
</table>
</div>
    
  </div>

</div>
    
    <div id="footer">
  Generated on Fri Mar  8 20:33:36 2013 by 
  <a href="javascript:if(confirm(%27http://yardoc.org/  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?%27))window.location=%27http://yardoc.org/%27" tppabs="http://yardoc.org/" title="Yay! A Ruby Documentation Tool">yard</a>
  0.5.3 (ruby-1.8.7).
</div>


  <script type="text/javascript">
  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  </script>
  <script type="text/javascript">
  try {
  var pageTracker = _gat._getTracker("UA-535380-8");
  pageTracker._trackPageview();
  } catch(err) {}</script>


  </body>
</html>